package br.eng.eliseu.gwt.gestaoWeb.server.guice;

import br.eng.eliseu.gwt.gestaoWeb.server.service.LoginServiceImpl;
import br.eng.eliseu.gwt.gestaoWeb.server.service.cadastro.CadastroServiceImpl;
import br.eng.eliseu.gwt.gestaoWeb.server.service.cadastro.EnderecoServiceImpl;

import com.google.inject.servlet.ServletModule;

public class WEBServletModule extends ServletModule {
	private static final String contextPath = "/GestaoWeb/";

	@Override
	public void configureServlets() {
		this.serve(contextPath + "login").with(LoginServiceImpl.class);
		this.serve(contextPath + "endereco").with(EnderecoServiceImpl.class);
		this.serve(contextPath + "cadastro").with(CadastroServiceImpl.class);
	}
}